ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wxl/wsxl
authorRoger Shimizu <rogershimizu@gmail.com>
Thu, 21 Jan 2016 14:38:44 +0000 (23:38 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commit5060d6980932995db017779ac99e2b94ee7f4743
treeb270cacd1a41a4b38ffe5945c6d743ac4a4684c2
parent1f02c9c28bec4eb1151cbefca4c142a9ac695207
ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wxl/wsxl

For kirkwood, gpio pins starts from 32 are in the 2nd bank, so it should be
converted to "gpio1 <pin minus 32>" in dts file.
e.g. gpio 40 should be "gpio1 8"

Besides, a few other pin fixes for ls-wxl/wsxl, to match with mpp pin
definition:
  - gpio-leds: "lswxl:blue:power" pin
  - gpio-leds: "lswxl:red:func" pin
  - gpio-leds: "lswxl:red:hdderr0" pin
  - gpio-leds: "lswxl:red:hdderr1" pin
  - gpio-fan:  low/high/alarm pin

The pin/bank issue was found when discussing Debian Bug #810894
  [https://bugs.debian.org/810894#47]

Fixes: e54e4b1b622e ("ARM: dts: add buffalo linkstation ls-wxl/wsxl")
Reported-by: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Gbp-Pq: Topic features/arm/device-tree
Gbp-Pq: Name ARM-dts-kirkwood-gpio-pin-fixes-for-linkstation-ls-wxl-ws.patch
arch/arm/boot/dts/kirkwood-lswxl.dts